package com.xmy.cultivate.service.impl;

import com.xmy.cultivate.entity.GradeAutoSet;
import com.xmy.cultivate.mapper.GradeAutoSetMapper;
import com.xmy.cultivate.service.IGradeAutoSetService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 批量添加班级设置 服务实现类
 * </p>
 *
 * @author hpiggy
 * @since 2025-02-24
 */
@Service
public class GradeAutoSetServiceImpl extends ServiceImpl<GradeAutoSetMapper, GradeAutoSet> implements IGradeAutoSetService {

    @Autowired
    GradeAutoSetMapper gradeAutoSetMapper;

    @Override
    public List<GradeAutoSet> getAutoTime(Integer yearPart,
                                          Integer quarterNum,
                                          Integer weekType,
                                          Integer lessonType,
                                          Integer yearClassId){
        return gradeAutoSetMapper.getAutoTime(yearPart,quarterNum,weekType,lessonType,yearClassId);
    }
}
